import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
Vue.config.productionTip = false
import "@/mock"

// 注册全局组件
import TypeNav from  "@/components/TypeNav" 
import Pagination from "@/components/Pagination"
Vue.component("TypeNav",TypeNav)
Vue.component("Pagination",Pagination);
new Vue({
  store,
  router,
  beforeCreate(){
         Vue.prototype.$bus=this
  },

  render: h => h(App),
}).$mount('#app')
